<!--
 * @Descripttion: 
 * @Version: 
 * @Author: gaohj
 * @Date: 2022-12-30 12:00:08
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-12-30 12:05:08
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // var a = 10;
        // var b = a;
        // console.log(a);
        // console.log(b);
        // a = 50;
        // console.log(a);
        // console.log(b);



        var obj = {
            name:'杨璐',
            age:18
        }

        var test = obj;
        obj.name = '杨关瑞';
        console.log(test.name);
    </script>
</body>
</html>